package com.vma.jifu.others;

import com.jfinal.plugin.activerecord.Page;
import com.vma.jifu.bizModel.model.Areas;
import com.vma.jifu.bizModel.model.Cities;
import com.vma.jifu.bizModel.model.Provinces;


import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * Created by chenzui on 2017/6/15.
 */
public interface CommonService {
    /**
     * 查询省份
     *
     * @param name
     * @return
     */
    public List<Provinces> qryProvinces(String name);

    /**
     * 查询城市
     *
     * @param name
     * @return
     */
    public List<Cities> qryCities(String name, int province);

    /**
     * 查询地区
     *
     * @param name
     * @return
     */
    public List<Areas> qryAreas(String name, int city);
}
